<ul id="watch-post" class="question-list">
  <% for @question in @questions %>
  <li class="question-list-item">
    <div class="question-info-wrap">
      <div class="question-info">
        <div class="question-list-avatar">
          <%= link_to image_tag(user_avatar_url(@question.user)), question_channel_path(@question.user.name) %>
        </div>
        <div class="question-post-info">
          <div class="question-post-info-inner">
            <span class="question-user-name"><%= link_to @question.user.name, question_channel_path(@question.user.name) %></span>
            <span class="question-post-date"><%= time_ago_in_words(@question.created_at) %> ago</span>
          </div>
          <div class="question-list-content" title=""><%= @question.content %></div>

          <div class="question-stat">
            <span class="question-view"><%= number_with_delimiter(@question.posts.size) %> answers</span>
            <span class="question-links pull-right hide"><%= link_to 'Show Page', question_path(@question) %></span>
          </div>
        </div>
      </div>
      
    </div>
  </li>
  <% end %>
</ul>
